package org.elanfox.cloud.mybatis.base;

import lombok.Getter;
import lombok.Setter;
import org.elanfox.cloud.common.base.BasePO;
import org.elanfox.cloud.mybatis.annotations.CreateTime;
import org.elanfox.cloud.mybatis.annotations.UpdateTime;

import javax.persistence.Column;
import java.time.LocalDateTime;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/7/2
 */
@Setter
@Getter
public abstract class Base2PO implements BasePO {
    @Column(name = "create_time")
    @CreateTime
    protected LocalDateTime createTime;
    @Column(name = "update_time")
    @UpdateTime
    protected LocalDateTime updateTime;
}
